///**************************  公共模块API  ***********************************
//云配置,获取图片前缀
const apiImgPreUrl = "/sto/rest/admin/api/v1/cloud/cfg";
//渠道配置，查询私有化配置
const apiChannelKeysUrl = "/cloudpick/rest/operator/api/v1/mcp/arg/config/queryByChannelAndKeys";
//检查版本更新
const apiVersionCheckUrl = "/cloudpick/rest/api/v1/cms/app/version";
//获取国际货币
const apiCurrencyUrl = "/sto/rest/admin/api/v1/mcp/channel/queryMcpChannel";
//注册激光推送
const apiRegisterJPushUrl = "/cloudpick/rest/api/v1/logon/sdkInfo";
//注册设备信息
const apiRegisterDeviceUrl = "/cloudpick/rest/api/v1/user/%s/device";

/*
* *************登陆模块***************
* */
//获取国家代码列表
const apiGetFlagUrl ="/sto/rest/admin/api/v1/channel/action/national/flag";
//获取图形验证码
const apiGetCaptUrl = "/cloudpick/rest/api/v1/logon/captcha";
//获取验证码
const apiSendSmsUrl = "/cloudpick/rest/api/v1/logon/sendsmsV2";
//登陆接口
const apiLoginUrl = "/cloudpick/rest/api/v1/logon/entry";
//退出登陆接口
const apiLogoutUrl = "/cloudpick/rest/api/v1/logon/out";
//注销登陆
const apiUnRegisterUrl = "/cloudpick/rest/operator/api/v1/user/unRegister";
//密码登陆
const apiPwdLoginUrl = "/cloudpick/rest/api/v1/pos/logon/account";
//修改密码
const apiModifyPwdUrl = "/cloudpick/rest/api/v1/pos/logon/modify/password";

/*
* *************首页模块***************
* */
//二维码扫描
const apiScanUrl = "/erp/rest/market/scan";
//cms数据
const apiCmsUrl = "/cloudpick/rest/api/v1/cms/content/query";
//获取二维码数据
const apiGetQrCodeUrl = "/cloudpick/rest/api/v1/logon/qrcode";
//开门接口
const apiFridgeOpenDoorUrl = "/sto/rest/api/v1/rack/refrigerator/door/open";
//查询无人货柜开门状态
const apiFridgeStatusUrl = "/sto/rest/api/v1/rack/refrigerator/door/open/status";
//设置用户拥有店长权限
const apiPossessAuthorityUrl = "/sto/rest/api/v1/rack/refrigerator/customer/refund";

/*
* *************我的模块***************
* */
//获取用户信息
const apiGetUserUrl = "/cloudpick/rest/api/v1/user/%s/get";
//保存用户信息
const apiSaveUserInfoUrl = "/cloudpick/rest/api/v1/user/%s/userInfo";
//获取后台的相关配置
const apiSettingsInfoUrl = "/cloudpick/rest/api/v1/user/settings/info";
//设置后台相关配置
const apiSettingsEditUrl = "/cloudpick/rest/api/v1/user/settings/addOrUpdate";
///银行签约
//查询签约状态
const apiQuerySignListUrl = "/cloudpick/rest/api/v1/dut/%s/list";
//支付签约
const apiSignUrl = "/cloudpick/rest/api/v1/dut/sign";
//通知后台支付签约成功
const apiSignNotify="/cloudpick/rest/api/v1/ing/sign/notify";
//删除支付签约
const apiUnSignUrl = "/cloudpick/rest/api/v1/dut/unsign";
//获取银行签约的公钥
const apiGetBankSignKeysUrl = "/cloudpick/rest/operator/api/v1/mcp/arg/config/queryByKeys";
//SMBC支付签约
const apiSMBCSignUrl = "/cloudpick/rest/api/v1/smbc/sign/notify";
//删除SMBC支付签约
const apiUnSMBCSignUrl = "/cloudpick/rest/api/v1/smbc/dut/unsign";
//手动支付
const apiTradPayUrl = "/cloudpick/rest/api/v1/trade/pay";
//查询我喜欢的签约方式
const apiLikeSignList="/cloudpick/rest/operator/api/v1/favor/pay/list/%s";
//查询GrabPay的余额
const apiGrabPayBalanceUrl = "/cloudpick/rest/api/v1/grabpay/wallet/balance";
///反馈
//获取反馈列表数据
const apiFeedbackListUrl = "/cloudpick/rest/operator/api/v1/fbk/feedback";
//获取反馈详细
const apiFeedbackDetailUrl = "/cloudpick/rest/operator/api/v1/fbk/reply";
//用户已读
const apiFeedbackReadUrl = "/cloudpick/rest/operator/api/v1/fbk/read";
//发送信息
const apiFeedbackSendUrl = "/cloudpick/rest/operator/api/v1/fbk/reply";
//反馈评分
const apiFeedbackEvaluateUrl = "/cloudpick/rest/operator/api/v1/fbk/evaluate";
//反馈关闭
const apiFeedbackCloseUrl = "/cloudpick/rest/operator/api/v1/fbk/closed";
///人脸
//获取人脸列表数据
const apiFaceListUrl =  "/cloudpick/rest/api/v1/user/%s/userFace";
//获取人脸店铺列表数据
const apiFaceStoreListUrl = "/sto/rest/api/v1/store/face";
//注册人脸
const apiFaceBindUrl = "/cloudpick/rest/api/v1/sos/operation/apply/face/register";
//人脸绑定请求
const apiFaceApplyUrl = "/cloudpick/rest/api/v1/sos/operation/apply";
//删除人脸
const apiFaceDeleteUrl = "/cloudpick/rest/api/v1/sos/operation/apply/face/delete";
//获取上传图片的签名
const apiUploadSignUrl = "/sto/rest/api/v1/resource/sign";
//获取上传图片的资源
const apiUploadSourceUrl = "/cloudpick/rest/api/v1/user/%s/resource";
///优惠券
//获取优惠券可用列表
const apiCouponValidListUrl = "/erp/rest/api/v1/market/coupon/%s/list";
//获取优惠券使用列表
const apiCouponUsedListUrl = "/erp/rest/api/v1/market/coupon/%s/used";
//获取优惠券过期列表
const apiCouponExpireListUrl = "/erp/rest/api/v1/market/coupon/%s/outoftime";
///余额
/*查询卡流水*/
const apiQueryCardFlowUrl = "/erp/rest/operator/api/v1/account/flow";
/*查询余额*/
const apiQueryBalanceUrl = "/erp/rest/operator/api/v1/account/balance";
///积分商场
//查询积分
const apiQueryPointsUrl = "/erp/rest/api/v1/mkt/score/user";
//查询积分流水
const apiQueryPointsFlowUrl = "/erp/rest/api/v1/mkt/score/flow";
//积分方案分类查询
const apiQueryPointCatalogListUrl = "/erp/rest/api/v1/mkt/score/catelog/list";
//积分产品查询
const apiQueryPointProductUrl = "/erp/rest/api/v1/mkt/score/product/list";
//积分兑换
const apiRequestPointExchangeUrl = "/erp/rest/api/v1/mkt/score/exchange";
//积分兑换查询
const apiQueryPointsExchangeRecordListUrl = "erp/rest/api/v1/mkt/score/record/list";

//查询附件的门店
const findStoreListUrl = "/sto/rest/admin/api/v1/store/query/allStore";

/*
* *************订单模块***************
* */
//获取订单列表数据
const apiOrderListUrl = "/cloudpick/rest/api/v1/order/%s";
//获取订单详细数据 、 获取退款订单的支付信息
const apiOrderDetailUrl = "/cloudpick/rest/api/v1/order/%s/info";
//获取订单退款数据
const apiOrderRefundUrl = "/cloudpick/rest/api/v1/order/%s/refund/query";
//获取订单营销数据
const apiOrderMarketUrl = "/erp/rest/operator/api/v1/market/display/search";
//删除订单
const apiOrderDeleteUrl = "/cloudpick/rest/api/v1/order/delete";

//获取发票下载地址
const apiOrderInvoiceUrl = "cloudpick-gw/api/vi/invoice/order/%s";

/*
* *************线上商城***************
* */
//目录
const apiOnlineShopCatalogUrl = "/tos/rest/operator/api/v1/catalog/branch/%s";
//目录下的商品列表
const apiOnlineShopCategoryGoodsUrl = "/tos/rest/operator/api/v1/catalog/%s/%s";
//创建外卖单
const apiOnlineShopOrderCreateUrl = "/tos/rest/operator/api/v1/tos/order/create";
//创建购物车Id
const apiOnlineShopCarIdUrl = "/tos/rest/operator/api/v1/tos/order/shopCartId/create";
//获取店铺列表
const apiStoreListUrl = "/tos/rest/operator/api/v1/tos/config/store/support";
